<template>
	<view class="tabs">
			<u-tabs :list="tabsType==7?tabsListType:tabsList" :current="tabCurrent" :scrollable="false" :lineColor="'#fff'" :activeStyle="{ color: '#16BB5D',fontSize:'30rpx',fontWeight:700}" :inactiveStyle="{ color: '#000' ,fontSize:'30rpx'}" :itemStyle="{ height: '100rpx' }" :lineWidth="30" @click="tabsClick"></u-tabs>
	</view>
</template>

<script setup>
	import { ref } from "vue"
	
	const props = defineProps({
		tabCurrent:Number,
		tabsType:Number
		
	})
	
	const tabsList=ref([{name: '全部'},{name: '未发货'}, {name: '已发货'}, {name: '已确认'}]);
	const tabsListType=ref([{name: '尾款(差价)订单'}]);
	
	const emit = defineEmits(['tabsClickOne'])
	
	const tabsClick=(e)=>{
		emit('tabsClickOne', e);
	}
</script>

<style lang="scss" scoped>

:deep(.u-tabs__wrapper__nav__line){
	bottom: 0;
}
</style>
